package org.support.small.mallms.service;

import com.mybatisflex.core.paginate.Page;
import com.mybatisflex.core.query.QueryWrapper;
import org.springframework.stereotype.Service;
import org.support.small.infrastructure.mapper.LanguagesMapper;
import org.support.small.infrastructure.website.Languages;

import javax.annotation.Resource;

@Service
public class LanguagesService {
    @Resource
    private LanguagesMapper languagesMapper;

    public void search(Page<Languages> page, QueryWrapper queryWrapper){
        languagesMapper.paginate(page, queryWrapper);
    }
}
